﻿namespace FileStorageCenter.Common;

public class OperationalResult
{
    public const int ERROR = -1;
    public const int SUCCESS = 0;
    public const int FAILURE = 1;

    public int Status { get; set; }

    public string Message { get; set; } = string.Empty;
}

public class OperationalResult<TModel> : OperationalResult
{
    public TModel Data { get; set; }
}